//
//  HWjieSuanTableViewCell.m
//  HWPromoteProjectAPP
//
//  Created by 陈道斌 on 2020/2/18.
//  Copyright © 2020 陈道斌. All rights reserved.
//

#import "HWjieSuanTableViewCell.h"


@interface HWjieSuanTableViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *icoIamgeView;
@property (weak, nonatomic) IBOutlet UILabel *shengehLabel;
@property (weak, nonatomic) IBOutlet UILabel *riqiLabel;
@property (weak, nonatomic) IBOutlet UILabel *jingerLabel;


@end



@implementation HWjieSuanTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}




-(void)setModel:(HWBillingDetailsModel *)model {
    
    _model = model;
    
    
    [self.icoIamgeView sd_setImageWithURL:[NSURL URLWithString:model.icon] placeholderImage:nil];
    self.shengehLabel.text = [NSString stringWithFormat:@"%@",model.status];
    self.riqiLabel.text = [NSString stringWithFormat:@"%@",model.time];
    
     self.jingerLabel.text = [NSString stringWithFormat:@"%@",model.money];
    
    
}

@end
